import { ServiceProto } from 'tsrpc-proto';
import { MsgChatTransform } from './worldServer/admin/MsgChatTransform';
import { MsgUpdateSubWorldState } from './worldServer/admin/MsgUpdateSubWorldState';
import { ReqAuth, ResAuth } from './worldServer/admin/PtlAuth';
import { ReqCreateSubWorld, ResCreateSubWorld } from './worldServer/admin/PtlCreateSubWorld';
import { MsgAdjustCue } from './worldServer/billiards/MsgAdjustCue';
import { MsgBallsDataSync } from './worldServer/billiards/MsgBallsDataSync';
import { MsgGameBeginPush } from './worldServer/billiards/MsgGameBeginPush';
import { MsgGameDataChangedPush } from './worldServer/billiards/MsgGameDataChangedPush';
import { MsgGameDataSyncPush } from './worldServer/billiards/MsgGameDataSyncPush';
import { MsgGameOverPush } from './worldServer/billiards/MsgGameOverPush';
import { MsgHitBall } from './worldServer/billiards/MsgHitBall';
import { MsgHitBallComplete } from './worldServer/billiards/MsgHitBallComplete';
import { MsgPlayerComesPush } from './worldServer/billiards/MsgPlayerComesPush';
import { MsgPlayerDataChangedPush } from './worldServer/billiards/MsgPlayerDataChangedPush';
import { MsgPlayerLeavesPush } from './worldServer/billiards/MsgPlayerLeavesPush';
import { MsgChat } from './worldServer/chat/MsgChat';
import { ReqSendChat, ResSendChat } from './worldServer/chat/PtlSendChat';
import { MsgGameBeginPush as MsgGameBeginPush_1 } from './worldServer/gomoku/MsgGameBeginPush';
import { MsgGameDataChangedPush as MsgGameDataChangedPush_1 } from './worldServer/gomoku/MsgGameDataChangedPush';
import { MsgGameDataSyncPush as MsgGameDataSyncPush_1 } from './worldServer/gomoku/MsgGameDataSyncPush';
import { MsgGameOverPush as MsgGameOverPush_1 } from './worldServer/gomoku/MsgGameOverPush';
import { MsgPlacePiecePush } from './worldServer/gomoku/MsgPlacePiecePush';
import { MsgPlayerComesPush as MsgPlayerComesPush_1 } from './worldServer/gomoku/MsgPlayerComesPush';
import { MsgPlayerDataChangedPush as MsgPlayerDataChangedPush_1 } from './worldServer/gomoku/MsgPlayerDataChangedPush';
import { MsgPlayerLeavesPush as MsgPlayerLeavesPush_1 } from './worldServer/gomoku/MsgPlayerLeavesPush';
import { ReqPlacePiece, ResPlacePiece } from './worldServer/gomoku/PtlPlacePiece';
import { MsgPN } from './worldServer/master/MsgPN';
import { MsgSubWorldDataChangedPush } from './worldServer/MsgSubWorldDataChangedPush';
import { MsgSubWorldDataSyncPush } from './worldServer/MsgSubWorldDataSyncPush';
import { MsgSubWorldDismissedPush } from './worldServer/MsgSubWorldDismissedPush';
import { MsgUserComesToTablePush } from './worldServer/MsgUserComesToTablePush';
import { MsgUserDataChangedPush } from './worldServer/MsgUserDataChangedPush';
import { MsgUserLeavesFromTablePush } from './worldServer/MsgUserLeavesFromTablePush';
import { ReqExitSubWorld, ResExitSubWorld } from './worldServer/PtlExitSubWorld';
import { ReqJoinGame, ResJoinGame } from './worldServer/PtlJoinGame';
import { ReqJoinSubWorld, ResJoinSubWorld } from './worldServer/PtlJoinSubWorld';
import { ReqReady, ResReady } from './worldServer/PtlReady';

export interface ServiceType {
    api: {
        "admin/Auth": {
            req: ReqAuth,
            res: ResAuth
        },
        "admin/CreateSubWorld": {
            req: ReqCreateSubWorld,
            res: ResCreateSubWorld
        },
        "chat/SendChat": {
            req: ReqSendChat,
            res: ResSendChat
        },
        "gomoku/PlacePiece": {
            req: ReqPlacePiece,
            res: ResPlacePiece
        },
        "ExitSubWorld": {
            req: ReqExitSubWorld,
            res: ResExitSubWorld
        },
        "JoinGame": {
            req: ReqJoinGame,
            res: ResJoinGame
        },
        "JoinSubWorld": {
            req: ReqJoinSubWorld,
            res: ResJoinSubWorld
        },
        "Ready": {
            req: ReqReady,
            res: ResReady
        }
    },
    msg: {
        "admin/ChatTransform": MsgChatTransform,
        "admin/UpdateSubWorldState": MsgUpdateSubWorldState,
        "billiards/AdjustCue": MsgAdjustCue,
        "billiards/BallsDataSync": MsgBallsDataSync,
        "billiards/GameBeginPush": MsgGameBeginPush,
        "billiards/GameDataChangedPush": MsgGameDataChangedPush,
        "billiards/GameDataSyncPush": MsgGameDataSyncPush,
        "billiards/GameOverPush": MsgGameOverPush,
        "billiards/HitBall": MsgHitBall,
        "billiards/HitBallComplete": MsgHitBallComplete,
        "billiards/PlayerComesPush": MsgPlayerComesPush,
        "billiards/PlayerDataChangedPush": MsgPlayerDataChangedPush,
        "billiards/PlayerLeavesPush": MsgPlayerLeavesPush,
        "chat/Chat": MsgChat,
        "gomoku/GameBeginPush": MsgGameBeginPush_1,
        "gomoku/GameDataChangedPush": MsgGameDataChangedPush_1,
        "gomoku/GameDataSyncPush": MsgGameDataSyncPush_1,
        "gomoku/GameOverPush": MsgGameOverPush_1,
        "gomoku/PlacePiecePush": MsgPlacePiecePush,
        "gomoku/PlayerComesPush": MsgPlayerComesPush_1,
        "gomoku/PlayerDataChangedPush": MsgPlayerDataChangedPush_1,
        "gomoku/PlayerLeavesPush": MsgPlayerLeavesPush_1,
        "master/PN": MsgPN,
        "SubWorldDataChangedPush": MsgSubWorldDataChangedPush,
        "SubWorldDataSyncPush": MsgSubWorldDataSyncPush,
        "SubWorldDismissedPush": MsgSubWorldDismissedPush,
        "UserComesToTablePush": MsgUserComesToTablePush,
        "UserDataChangedPush": MsgUserDataChangedPush,
        "UserLeavesFromTablePush": MsgUserLeavesFromTablePush
    }
}

export const serviceProto: ServiceProto<ServiceType> = {
    "version": 27,
    "services": [
        {
            "id": 60,
            "name": "admin/ChatTransform",
            "type": "msg"
        },
        {
            "id": 13,
            "name": "admin/UpdateSubWorldState",
            "type": "msg"
        },
        {
            "id": 1,
            "name": "admin/Auth",
            "type": "api",
            "conf": {
                "allowGuest": true
            }
        },
        {
            "id": 12,
            "name": "admin/CreateSubWorld",
            "type": "api",
            "conf": {
                "allowGuest": true
            }
        },
        {
            "id": 22,
            "name": "billiards/AdjustCue",
            "type": "msg"
        },
        {
            "id": 62,
            "name": "billiards/BallsDataSync",
            "type": "msg"
        },
        {
            "id": 23,
            "name": "billiards/GameBeginPush",
            "type": "msg"
        },
        {
            "id": 48,
            "name": "billiards/GameDataChangedPush",
            "type": "msg"
        },
        {
            "id": 49,
            "name": "billiards/GameDataSyncPush",
            "type": "msg"
        },
        {
            "id": 24,
            "name": "billiards/GameOverPush",
            "type": "msg"
        },
        {
            "id": 25,
            "name": "billiards/HitBall",
            "type": "msg"
        },
        {
            "id": 26,
            "name": "billiards/HitBallComplete",
            "type": "msg"
        },
        {
            "id": 36,
            "name": "billiards/PlayerComesPush",
            "type": "msg"
        },
        {
            "id": 37,
            "name": "billiards/PlayerDataChangedPush",
            "type": "msg"
        },
        {
            "id": 38,
            "name": "billiards/PlayerLeavesPush",
            "type": "msg"
        },
        {
            "id": 39,
            "name": "chat/Chat",
            "type": "msg"
        },
        {
            "id": 40,
            "name": "chat/SendChat",
            "type": "api",
            "conf": {}
        },
        {
            "id": 50,
            "name": "gomoku/GameBeginPush",
            "type": "msg"
        },
        {
            "id": 51,
            "name": "gomoku/GameDataChangedPush",
            "type": "msg"
        },
        {
            "id": 52,
            "name": "gomoku/GameDataSyncPush",
            "type": "msg"
        },
        {
            "id": 53,
            "name": "gomoku/GameOverPush",
            "type": "msg"
        },
        {
            "id": 54,
            "name": "gomoku/PlacePiecePush",
            "type": "msg"
        },
        {
            "id": 55,
            "name": "gomoku/PlayerComesPush",
            "type": "msg"
        },
        {
            "id": 56,
            "name": "gomoku/PlayerDataChangedPush",
            "type": "msg"
        },
        {
            "id": 57,
            "name": "gomoku/PlayerLeavesPush",
            "type": "msg"
        },
        {
            "id": 58,
            "name": "gomoku/PlacePiece",
            "type": "api",
            "conf": {}
        },
        {
            "id": 61,
            "name": "master/PN",
            "type": "msg"
        },
        {
            "id": 41,
            "name": "SubWorldDataChangedPush",
            "type": "msg"
        },
        {
            "id": 42,
            "name": "SubWorldDataSyncPush",
            "type": "msg"
        },
        {
            "id": 59,
            "name": "SubWorldDismissedPush",
            "type": "msg"
        },
        {
            "id": 43,
            "name": "UserComesToTablePush",
            "type": "msg"
        },
        {
            "id": 44,
            "name": "UserDataChangedPush",
            "type": "msg"
        },
        {
            "id": 45,
            "name": "UserLeavesFromTablePush",
            "type": "msg"
        },
        {
            "id": 14,
            "name": "ExitSubWorld",
            "type": "api",
            "conf": {}
        },
        {
            "id": 46,
            "name": "JoinGame",
            "type": "api",
            "conf": {}
        },
        {
            "id": 15,
            "name": "JoinSubWorld",
            "type": "api",
            "conf": {}
        },
        {
            "id": 47,
            "name": "Ready",
            "type": "api",
            "conf": {}
        }
    ],
    "types": {
        "admin/MsgChatTransform/MsgChatTransform": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "time",
                    "type": {
                        "type": "Date"
                    }
                },
                {
                    "id": 1,
                    "name": "user",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/UserInfo/UserInfo"
                    }
                },
                {
                    "id": 4,
                    "name": "channel",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "content",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "../../types/UserInfo/UserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 2,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "name",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 4,
                    "name": "visualId",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 5,
                    "name": "gender",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 6,
                    "name": "introduction",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "admin/MsgUpdateSubWorldState/MsgUpdateSubWorldState": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "connNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 1,
                    "name": "subWorlds",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "admin/MsgUpdateSubWorldState/ISubWorldState"
                        }
                    }
                }
            ]
        },
        "admin/MsgUpdateSubWorldState/ISubWorldState": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "id",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 10,
                    "name": "displayId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "configId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "name",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "userNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 4,
                    "name": "maxUserNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 7,
                    "name": "playerNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 8,
                    "name": "maxPlayerNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 5,
                    "name": "startMatchTime",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    },
                    "optional": true
                },
                {
                    "id": 6,
                    "name": "updateTime",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 9,
                    "name": "password",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "admin/PtlAuth/ReqAuth": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "adminToken",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "type",
                    "type": {
                        "type": "Literal",
                        "literal": "MasterServer"
                    }
                }
            ]
        },
        "admin/PtlAuth/ResAuth": {
            "type": "Interface"
        },
        "admin/PtlCreateSubWorld/ReqCreateSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "adminToken",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 4,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 8,
                    "name": "displayId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 5,
                    "name": "subWorldName",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 6,
                    "name": "subWorldConfigId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 7,
                    "name": "password",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "admin/PtlCreateSubWorld/ResCreateSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "billiards/MsgAdjustCue/MsgAdjustCue": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "power",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "x",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "y",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "z",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "direction",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "x",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "y",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "z",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                }
            ]
        },
        "billiards/MsgBallsDataSync/MsgBallsDataSync": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "ballsData",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "ballsPosData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            },
                            {
                                "id": 1,
                                "name": "ballsQuatData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            }
                        ]
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "newPocketedBalls",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Number"
                        }
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "gameOver",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "billiards/MsgGameBeginPush/MsgGameBeginPush": {
            "type": "Interface"
        },
        "billiards/MsgGameDataChangedPush/MsgGameDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "currentPlayer",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "ballsData",
                    "type": {
                        "type": "Reference",
                        "target": "billiards/BilliardsTypeDef/IBilliardsBallsData"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "order",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 4,
                    "name": "cueDir",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "x",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "y",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "z",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                }
            ]
        },
        "billiards/BilliardsTypeDef/IBilliardsBallsData": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "ballsPosData",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Number"
                        }
                    }
                },
                {
                    "id": 1,
                    "name": "ballsQuatData",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Number"
                        }
                    }
                }
            ]
        },
        "billiards/MsgGameDataSyncPush/MsgGameDataSyncPush": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "billiards/BilliardsTypeDef/IBilliardsGameData"
                    }
                }
            ]
        },
        "billiards/BilliardsTypeDef/IBilliardsGameData": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "players",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "billiards/BilliardsTypeDef/IBilliardsPlayer"
                        }
                    }
                },
                {
                    "id": 1,
                    "name": "currentPlayer",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "ballsData",
                    "type": {
                        "type": "Reference",
                        "target": "billiards/BilliardsTypeDef/IBilliardsBallsData"
                    },
                    "optional": true
                },
                {
                    "id": 4,
                    "name": "curDirection",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "x",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "y",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "z",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                }
            ]
        },
        "billiards/BilliardsTypeDef/IBilliardsPlayer": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "pocketedBalls",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Number"
                        }
                    }
                }
            ]
        },
        "billiards/MsgGameOverPush/MsgGameOverPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "winner",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "billiards/MsgHitBall/MsgHitBall": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "ballsData",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "ballsPosData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            },
                            {
                                "id": 1,
                                "name": "ballsQuatData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            }
                        ]
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "hitImpulse",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "x",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "y",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "z",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "order",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                }
            ]
        },
        "billiards/MsgHitBallComplete/MsgHitBallComplete": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "ballsData",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "ballsPosData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            },
                            {
                                "id": 1,
                                "name": "ballsQuatData",
                                "type": {
                                    "type": "Array",
                                    "elementType": {
                                        "type": "Number"
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "id": 1,
                    "name": "hitImpulse",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "order",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 6,
                    "name": "nextPlayer",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 5,
                    "name": "gameOver",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "billiards/MsgPlayerComesPush/MsgPlayerComesPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "player",
                    "type": {
                        "type": "Reference",
                        "target": "billiards/BilliardsTypeDef/IBilliardsPlayer"
                    }
                }
            ]
        },
        "billiards/MsgPlayerDataChangedPush/MsgPlayerDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "pocketedBalls",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Number"
                        }
                    },
                    "optional": true
                }
            ]
        },
        "billiards/MsgPlayerLeavesPush/MsgPlayerLeavesPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "chat/MsgChat/MsgChat": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "time",
                    "type": {
                        "type": "Date"
                    }
                },
                {
                    "id": 1,
                    "name": "user",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/UserInfo/UserInfo"
                    }
                },
                {
                    "id": 4,
                    "name": "channel",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "content",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "chat/PtlSendChat/ReqSendChat": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ],
            "properties": [
                {
                    "id": 2,
                    "name": "channel",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 0,
                    "name": "content",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "../base/BaseRequest": {
            "type": "Interface"
        },
        "chat/PtlSendChat/ResSendChat": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ]
        },
        "../base/BaseResponse": {
            "type": "Interface"
        },
        "gomoku/MsgGameBeginPush/MsgGameBeginPush": {
            "type": "Interface"
        },
        "gomoku/MsgGameDataChangedPush/MsgGameDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "currentPlayer",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "isPlaying",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "boardData",
                    "type": {
                        "type": "Buffer",
                        "arrayType": "Uint32Array"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "gridData",
                    "type": {
                        "type": "Interface",
                        "properties": [
                            {
                                "id": 0,
                                "name": "gridX",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 1,
                                "name": "gridY",
                                "type": {
                                    "type": "Number"
                                }
                            },
                            {
                                "id": 2,
                                "name": "value",
                                "type": {
                                    "type": "Number"
                                }
                            }
                        ]
                    },
                    "optional": true
                }
            ]
        },
        "gomoku/MsgGameDataSyncPush/MsgGameDataSyncPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "data",
                    "type": {
                        "type": "Reference",
                        "target": "gomoku/GomokuTypeDef/IGomokuGameData"
                    }
                }
            ]
        },
        "gomoku/GomokuTypeDef/IGomokuGameData": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "players",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "gomoku/GomokuTypeDef/IGomokuPlayer"
                        }
                    }
                },
                {
                    "id": 1,
                    "name": "currentPlayer",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "boardData",
                    "type": {
                        "type": "Buffer",
                        "arrayType": "Uint32Array"
                    },
                    "optional": true
                }
            ]
        },
        "gomoku/GomokuTypeDef/IGomokuPlayer": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "color",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "gomoku/MsgGameOverPush/MsgGameOverPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "winner",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "gomoku/MsgPlacePiecePush/MsgPlacePiecePush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "gridX",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 2,
                    "name": "gridY",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 3,
                    "name": "value",
                    "type": {
                        "type": "Number"
                    }
                }
            ]
        },
        "gomoku/MsgPlayerComesPush/MsgPlayerComesPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "player",
                    "type": {
                        "type": "Reference",
                        "target": "gomoku/GomokuTypeDef/IGomokuPlayer"
                    }
                }
            ]
        },
        "gomoku/MsgPlayerDataChangedPush/MsgPlayerDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "color",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "gomoku/MsgPlayerLeavesPush/MsgPlayerLeavesPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "gomoku/PtlPlacePiece/ReqPlacePiece": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ],
            "properties": [
                {
                    "id": 0,
                    "name": "gridX",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 1,
                    "name": "gridY",
                    "type": {
                        "type": "Number"
                    }
                }
            ]
        },
        "gomoku/PtlPlacePiece/ResPlacePiece": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ]
        },
        "master/MsgPN/MsgPN": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "targetIdType",
                    "type": {
                        "type": "Union",
                        "members": [
                            {
                                "id": 0,
                                "type": {
                                    "type": "Literal"
                                }
                            },
                            {
                                "id": 1,
                                "type": {
                                    "type": "Literal",
                                    "literal": "subWorldId"
                                }
                            },
                            {
                                "id": 2,
                                "type": {
                                    "type": "Literal",
                                    "literal": "configId"
                                }
                            },
                            {
                                "id": 3,
                                "type": {
                                    "type": "Literal",
                                    "literal": "userId"
                                }
                            }
                        ]
                    }
                },
                {
                    "id": 1,
                    "name": "targetId",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "PNMsg",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "args",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "String"
                        }
                    },
                    "optional": true
                }
            ]
        },
        "MsgSubWorldDataChangedPush/MsgSubWorldDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "name",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "maxUser",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "userList",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "../../types/SubWorldData/IUserData"
                        }
                    },
                    "optional": true
                },
                {
                    "id": 4,
                    "name": "maxPlayer",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 5,
                    "name": "numPlayer",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 6,
                    "name": "isPlaying",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "../../types/SubWorldData/IUserData": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "ready",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "isPlayer",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "isOnline",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "MsgSubWorldDataSyncPush/MsgSubWorldDataSyncPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "data",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/SubWorldData/SubWorldData"
                    }
                }
            ]
        },
        "../../types/SubWorldData/SubWorldData": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "id",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 10,
                    "name": "displayId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "name",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "maxUser",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 3,
                    "name": "userList",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "../../types/SubWorldData/IUserData"
                        }
                    }
                },
                {
                    "id": 8,
                    "name": "maxPlayerNum",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 9,
                    "name": "playerNum",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 6,
                    "name": "isPlaying",
                    "type": {
                        "type": "Boolean"
                    }
                },
                {
                    "id": 7,
                    "name": "messages",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Interface",
                            "properties": [
                                {
                                    "id": 4,
                                    "name": "channel",
                                    "type": {
                                        "type": "String"
                                    },
                                    "optional": true
                                },
                                {
                                    "id": 0,
                                    "name": "user",
                                    "type": {
                                        "type": "Reference",
                                        "target": "../../types/UserInfo/UserInfo"
                                    }
                                },
                                {
                                    "id": 1,
                                    "name": "time",
                                    "type": {
                                        "type": "Date"
                                    }
                                },
                                {
                                    "id": 2,
                                    "name": "content",
                                    "type": {
                                        "type": "String"
                                    }
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "MsgSubWorldDismissedPush/MsgSubWorldDismissedPush": {
            "type": "Interface"
        },
        "MsgUserComesToTablePush/MsgUserComesToTablePush": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../../types/SubWorldData/IUserData"
                    }
                }
            ]
        },
        "MsgUserDataChangedPush/MsgUserDataChangedPush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "ready",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "isPlayer",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "isOnline",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "MsgUserLeavesFromTablePush/MsgUserLeavesFromTablePush": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlExitSubWorld/ReqExitSubWorld": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ]
        },
        "PtlExitSubWorld/ResExitSubWorld": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ]
        },
        "PtlJoinGame/ReqJoinGame": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ]
        },
        "PtlJoinGame/ResJoinGame": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ]
        },
        "PtlJoinSubWorld/ReqJoinSubWorld": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ],
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "time",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 3,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlJoinSubWorld/ResJoinSubWorld": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ],
            "properties": [
                {
                    "id": 0,
                    "name": "currentUser",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/UserInfo/UserInfo"
                    }
                }
            ]
        },
        "PtlReady/ReqReady": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseRequest"
                    }
                }
            ]
        },
        "PtlReady/ResReady": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../base/BaseResponse"
                    }
                }
            ]
        }
    }
};